class Student(object):
  #构造函数
    def __init__(self, _name, _age):
    #self 类似this指针
    # self.name 定义类属性
        self.name  = _name
        self.age = _age
 
    def GetName(self):
        return self.name
 
if __name__ == '__main__':
    reacher = Student("reacher",18)
    
    print(reacher.GetName())
